package com.modai.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author ：modai
 * @date ：Created in 2020-12-21 11:59
 * @description：
 */
@Mapper
public interface AccountDao {
    void decrease(@Param("userId")Long userId,@Param("money")BigDecimal money);
}
